@import '../../var.scss';
@import '../../common.scss';
page {
  background-color: $page-background-color;
}
.borderTop {
  border-top: 1rpx solid $border-color;
}
.section {
  width: 100%;
  padding: 0 30rpx;
  background-color: #fff;
  .type {
    display: flex;
    justify-content: space-between;
    &-item {
      width: 330rpx;
      height: 80rpx;
      color: $info-color;
      font-size: 28rpx;
      line-height: 80rpx;
      text-align: center;
      background-color: #f5f5f5;
      border-radius: 6rpx;
    }
    .active {
      color: $primary-color;
      background-color: rgba($color: $primary-color, $alpha: 0.1);
    }
  }
  .list {
    display: flex;
    align-items: center;
    width: 100%;
    height: 110rpx;
    border-bottom: 1rpx solid $border-color;
    input {
      width: 100%;
      font-size: 30rpx;
    }
  }
  .bigList {
    width: 100%;
    padding: 40rpx 0;
    textarea {
      width: 100%;
    }
  }
  .imgBox {
    display: flex;
    margin-top: 40rpx;
    .img {
      position: relative;
      width: 160rpx;
      height: 160rpx;
      margin-right: 10rpx;
      &:nth-last-child(1) {
        margin-right: 0rpx;
      }
      image {
        position: absolute;
        width: 100%;
        height: 100%;
      }
      .coverimg {
        position: absolute;
        bottom: 0rpx;
        z-index: 2;
        width: 100%;
        height: 40rpx;
        color: #fff;
        font-size: 20rpx;
        line-height: 40rpx;
        text-align: center;
        background-color: rgba($color: #000000, $alpha: 0.4);
      }
      video {
        position: absolute;
        width: 100%;
        height: 100%;
      }
      .delet {
        z-index: 2;
        width: 58rpx;
        height: 58rpx;
      }
    }
    .addImg {
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1rpx solid $border-color;
      image {
        width: 48rpx;
        height: 41rpx;
      }
    }
  }
  .tips {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 25rpx 0;
    color: $info-color;
    font-size: 20rpx;
    text {
      margin: 10rpx 5rpx 0 0;
      color: #f4504d;
    }
  }
}
.marTop {
  margin-top: 20rpx;
}
.sectionBox {
  margin-top: 20rpx;
  padding: 0 30rpx;
  background-color: #fff;
}
.second {
  margin-top: 20rpx;
  padding: 40rpx 30rpx;
  .title {
    color: $title-color;
    font-size: 28rpx;
    text {
      margin-left: 11rpx;
      color: $info-color;
      font-size: 20rpx;
    }
  }
  .price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80rpx;
    margin-top: 20rpx;
    border: 1rpx solid $border-color;
    border-radius: 12rpx;
    input {
      width: 30%;
      font-size: 28rpx;
      text-align: center;
    }
    image {
      width: 25rpx;
      height: 25rpx;
    }
  }
}
.prices {
  width: 330rpx !important;
  input {
    width: 100% !important;
  }
}
.vipPrice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .active {
    color: $primary-color;
    background-color: rgba($color: $primary-color, $alpha: 0.1);
  }
}
.third {
  width: 100%;
  margin-top: 20rpx;
  padding: 40rpx 0rpx;
  background-color: #fff;
  .options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 30rpx;
    font-size: 28rpx;
    &-add {
      color: $primary-color;
    }
  }
  .options-list {
    width: 100%;
    height: 80rpx;
    padding: 0 30rpx;
    margin-top: 20rpx;
    line-height: 80rpx;
    border-top: 2rpx solid $border-color;
    &-item {
      width: 100%;
      display: flex;
      .box {
        width: 50%;
      }
      .right {
        display: flex;
        color: $info-color;
        &-item {
          width: 50%;
          text-align: right;
        }
      }
    }
  }
  .title {
    padding-left: 30rpx;
    color: $title-color;
    font-size: 28rpx;
  }
  .item {
    display: inline-block;
    width: 210rpx;
    height: 70rpx;
    margin: 30rpx 0 0 30rpx;
    color: $info-color;
    font-size: 28rpx;
    line-height: 70rpx;
    text-align: center;
    background-color: $page-background-color;
  }
  .items {
    position: relative;
    width: auto;
    padding: 0rpx 28rpx;
    .delet {
      position: absolute;
      top: -10rpx;
      left: -10rpx;
      width: 30rpx;
      height: 30rpx;
    }
    image {
      width: 20rpx;
      height: 20rpx;
    }
  }
  .active {
    color: $primary-color;
    background-color: $primarys-color;
  }
}
.publish {
  width: 690rpx;
  height: 80rpx;
  margin: 40rpx 30rpx;
  color: $text-color;
  font-size: 30rpx;
  background-color: $disabled-color;
  border-radius: 40rpx;
}
.canPublish {
  color: $title-color;
  background-color: $primary-color;
}
.rules {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100rpx;
  border-bottom: 1rpx solid $border-color;
  &:last-child {
    border: none;
  }
  .ruleTitle {
    margin-right: 20rpx;
    font-size: 28rpx;
  }
  .ruleText {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    color: $info-color;
    .picker {
      width: 100%;
      text-align: right;
    }
    .text {
      max-width: 400rpx;
    }
    image {
      width: 14rpx;
      height: 24rpx;
      margin-left: 20rpx;
    }
    text {
      text {
        color: $title-color;
      }
    }
  }
}
.fixedIpt {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 100;
  .suk {
    width: 628rpx;
    border-radius: 20rpx;
    background-color: #fff;
    .cancels {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50rpx;
      height: 50rpx;
      margin: 20rpx 30rpx 0rpx auto;
      color: $title-color;
      font-size: 50rpx;
      text-align: right;
    }
    input {
      width: 500rpx;
      height: 100rpx;
      margin: auto;
      font-size: 32rpx;
      text-align: center;
      border-bottom: 2rpx solid #e5e5e5;
    }
    .btn {
      &-box {
        display: flex;
        width: 500rpx;
        height: 70rpx;
        margin: 60rpx auto 50rpx;
        .button {
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 32rpx;
          border-radius: 35rpx;
        }
      }
      &-delet {
        width: 235rpx;
        margin-right: 30rpx;
        background-color: #fff;
        border: 2rpx solid $primary-color;
      }
      &-save {
        flex: 1;
      }
      &-disable {
        opacity: 0.2;
        color: #fff;
      }
    }
  }
  .iptBox {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30rpx;
    line-height: 80rpx;
    background-color: #fff;
    input {
      width: 690rpx;
      height: 50rpx;
      padding: 0 20rpx;
      background-color: #fff;
      border: 1rpx solid $border-color;
      border-radius: 25rpx;
    }
  }
}
//弹出框
.detailBox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  .contentBox {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0 30rpx 30rpx;
    color: $title-color;
    background-color: $bgcolor-light;
    border-radius: 20rpx 20rpx 0 0;
    .titleBox {
      display: flex;
      flex: 1;
      align-items: center;
      justify-content: space-between;
      height: 90rpx;
      .title {
        margin-left: 340rpx;
        color: #333333;
        font-weight: 600;
        font-size: 30rpx;
      }
      .cancel {
        font-size: 40rpx;
      }
    }
    .content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      height: 100%;
      .categories {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        &-item {
          display: inline-block;
          width: 210rpx;
          height: 60rpx;
          margin: 30rpx 20rpx 0 0;
          color: $title-color;
          font-size: 28rpx;
          line-height: 60rpx;
          text-align: center;
          background-color: $page-background-color;
          border-radius: 6rpx;
        }
        .active {
          background-color: $primary-color;
        }
      }
      .fans {
        display: flex;
        justify-content: center;
        width: 100%;
        color: $title-color;
        font-weight: 600;
        font-size: 60rpx;
      }
      .getSorce {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        color: $info-color;
        font-size: 30rpx;
        text-align: center;
      }
      .btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 72rpx;
        margin: 50rpx auto 0;
        font-size: 32rpx;
        &-item {
          width: 330rpx;
          height: 72rpx;
          line-height: 72rpx;
          text-align: center;
          border: 2rpx solid rgba(89, 182, 215, 1);
          border-radius: 44rpx;
        }
        .cancel {
          color: $primary-color;
        }
        .besure {
          background-color: $primary-color;
        }
      }
    }
  }
}
